var router = new Router();
tactile.page.onready(function() {
    ScreenLayouter.getDevice();
    if (ScreenLayouter.device == "smartphone") {
        router.load("home-smartphone"); 
    }else if(ScreenLayouter.device == "tablet") {
        router.load("home-tablet"); 
    }else {
        console.log("Unsupported Device");
        location.href="http://stylebookmobile.apps.netbiscuits.com/";
    }
});